<{include file="news_header.html"}>

</header>
<body class="oneColLiqCtrHdr">
<div id="container">

  <div id="header">
<h1>文章列表 - <{$module_name}></h1>
  </div>

  <div id="mainContent">
  	<{if $error <> ''}><div id="error"><span style="color:red">Error:</span> <{$error}></div><{/if}>
  	<{if $success <> ''}><div id="success"><span style="color:blue">Success:</span><{$success}></div><{/if}>

<table width="700" class="listTable" align="center">
  <tr>
    <td width="70">文章ID</td>
    <td width="120">分类</td>
    <td width="420">标题</td>
    <td width="45">编辑</td>
    <td width="45">删除</td>
  </tr>
<{foreach item=xPost from=$xPosts}>
	<tr>
		<{foreach key=key item=item from=$xPost}>
		<td><{$item}></td>
		<{/foreach}>
	</tr>
<{/foreach}>
</table>

<form id="form1" name="form1" method="get" action="entry.php">
<div class="nav">第<{$page}>页,共<{$sum}>页;&nbsp;&nbsp;
	<input type="hidden" name="module" value="news" /><input type="hidden" name="action" value="list" />
	跳转至  <input type="text" name="page" id="page"  size="5" value="<{$page+1}>" />
	 <input type="submit" value="跳转" />
  <!-- <a href='javascript:history.go(-1)'>上一步</a> --></div>
</form>

<{include file="news_footer.html"}>